package com.xltt.vehicleControl.bean;

/**
 * @author zhaotengfei
 * @version 1.0.0
 * @created 2017/4/20 19:24
 */


public class VehicleStatusResponse extends BaseResponse {
    private RemoteControlResponse result;
    private VehicleStatus vehicleStatus;

    public VehicleStatusResponse() {
    }

    public RemoteControlResponse getResult() {
        return this.result;
    }

    public void setResult(RemoteControlResponse result) {
        this.result = result;
    }

    public VehicleStatus getVehicleStatus() {
        return this.vehicleStatus;
    }

    public void setVehicleStatus(VehicleStatus vehicleStatus) {
        this.vehicleStatus = vehicleStatus;
    }

//    public boolean isTokenUnavailable() {
//        return this.result != null && this.result.isTokenUnavailable();
//    }

    @Override
    public String toString() {
        return "VehicleStatusResponse{" +
                "result=" + result +
                ", vehicleStatus=" + vehicleStatus +
                '}';
    }
}
